import java.util.Scanner;

public class Question1 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("多少钱");
        int money = scanner.nextInt();
        int rawMoney = money;// 专门记录 原始钱数
        int money100 = money / 100;
        money %= 100;
        int money50 = money / 50;
        money %= 50;
        int money20 = money / 20;
        money %= 20;
        int money10 = money / 10;
        money %= 10;
        int money5 = money / 5;
        money %= 5; // 4
        System.out.println(rawMoney + "可以由"
                + money100 + "张100元," + money50 + "张50元,"
                + money20 + "张20元," + money10 + "张10元,"
                + money5 + "张5元," + money + "张1元 组成");


    }
}
